import request from '../utils/request'

// 新增工作表
export function workSheetSave(data) {
    return request({
      url: '/workSheet/save',
      method: 'post',
      data: data
    })
}

// 查询应用
export function getWorkSheet(query) {
    return request({
      url: '/workSheet/getWorkSheet',
      method: 'get',
      params: query
    })
}

// 更新工作表
export function workSheetUpdate(data) {
    return request({
      url: '/workSheet/update',
      method: 'post',
      data: data
    })
}

// 查询应用列表
export function fetchWorkSheet(query) {
    return request({
      url: '/workSheet/getWorkSheetList',
      method: 'get',
      params: query
    })
}